package com.longmao.edustatistics.client;

import com.longmao.commonutils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @author longmao
 * @date 2022/3/1 14:43
 * Content:
 */
@Component
@FeignClient(name = "service-ucenter", fallback = UcenterClientImpl.class)
public interface UcenterClient {

    @GetMapping("/educenter/member/countregister/{day}")
    public R registerCount(@PathVariable("day") String day);
}
